//引入mockjs
import Mock from 'mockjs'
//引入json数据   图片，JSON格式数据默认对外暴漏
import banner from './banner.json'
import floor from './floor.json'


//mock数据，第一个参数请求地址  第二个参数返回数据
Mock.mock("/mock/banner",{code:200,data:banner})  //模拟首页的大轮播图
Mock.mock("/mock/floor",{code:200,data:floor})  //




